/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package warmachineroster;

import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EObject;

import warmachinesystem.ArmyList;
import warmachinesystem.BaseUnit;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Roster</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link warmachineroster.Roster#getArmyList <em>Army List</em>}</li>
 *   <li>{@link warmachineroster.Roster#getRosterUnits <em>Roster Units</em>}</li>
 *   <li>{@link warmachineroster.Roster#getName <em>Name</em>}</li>
 *   <li>{@link warmachineroster.Roster#getMaxPointValue <em>Max Point Value</em>}</li>
 * </ul>
 * </p>
 *
 * @see warmachineroster.WarmachineRosterPackage#getRoster()
 * @model
 * @generated
 */
public interface Roster extends EObject {
	/**
	 * Returns the value of the '<em><b>Army List</b></em>' reference.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Army List</em>' reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Army List</em>' reference.
	 * @see #setArmyList(ArmyList)
	 * @see warmachineroster.WarmachineRosterPackage#getRoster_ArmyList()
	 * @model required="true"
	 * @generated
	 */
	ArmyList getArmyList();

	/**
	 * Sets the value of the '{@link warmachineroster.Roster#getArmyList <em>Army List</em>}' reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Army List</em>' reference.
	 * @see #getArmyList()
	 * @generated
	 */
	void setArmyList(ArmyList value);

	/**
	 * Returns the value of the '<em><b>Roster Units</b></em>' containment reference list.
	 * The list contents are of type {@link warmachineroster.RosterElement}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Roster Units</em>' containment reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Roster Units</em>' containment reference list.
	 * @see warmachineroster.WarmachineRosterPackage#getRoster_RosterUnits()
	 * @model containment="true"
	 * @generated
	 */
	EList<RosterElement> getRosterUnits();

	/**
	 * Returns the value of the '<em><b>Name</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Name</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Name</em>' attribute.
	 * @see #setName(String)
	 * @see warmachineroster.WarmachineRosterPackage#getRoster_Name()
	 * @model
	 * @generated
	 */
	String getName();

	/**
	 * Sets the value of the '{@link warmachineroster.Roster#getName <em>Name</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Name</em>' attribute.
	 * @see #getName()
	 * @generated
	 */
	void setName(String value);

	/**
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Point Value</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @model kind="operation"
	 * @generated
	 */
	int getPointValue();

	/**
	 * Returns the value of the '<em><b>Max Point Value</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Max Point Value</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Max Point Value</em>' attribute.
	 * @see #setMaxPointValue(int)
	 * @see warmachineroster.WarmachineRosterPackage#getRoster_MaxPointValue()
	 * @model
	 * @generated
	 */
	int getMaxPointValue();

	/**
	 * Sets the value of the '{@link warmachineroster.Roster#getMaxPointValue <em>Max Point Value</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Max Point Value</em>' attribute.
	 * @see #getMaxPointValue()
	 * @generated
	 */
	void setMaxPointValue(int value);

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @model
	 * @generated
	 */
	boolean canAdd(BaseUnit baseUnit);

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @model kind="operation" many="false"
	 * @generated
	 */
	EList<WarcasterRosterElement> getWarcasters();

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @model kind="operation" many="false"
	 * @generated
	 */
	EList<RosterElement> getAllRosterElements();

} // Roster
